package com.itheima.service.impl;

import com.itheima.dao.Impl.StudentDao;
import com.itheima.dao.Impl.StudentDaoImpl;
import com.itheima.domain.Student;

import java.util.ArrayList;

public class StudentServiceImpl  implements StudentService {

    StudentDao studentDao=new StudentDaoImpl();

    @Override
    public void selcetAll(ArrayList<Student> list) {
        studentDao.selcetAll(list);
    }

    @Override
    public void addStudent(ArrayList<Student> list) {
        studentDao.addStudent(list);
    }

    @Override
    public void getStudent(ArrayList<Student> list) {
        studentDao.getStudent(list);
    }

    @Override
    public void delete(ArrayList<Student> list) {
        studentDao.delete(list);
    }

    @Override
    public void setStudent(ArrayList<Student> list) {
        studentDao.setStudent(list);
    }
}
